Ext.define('TS.model.base.UserModel', {
    extend: 'Ext.data.Model', 
    fields: ['userId', 'userName','password','confirmPassword','accountExpired','accountLocked','accountEnabled','credentialsExpired','empId','currentInvAdd']
    //,idProperty:'userId'//设置此属性,new Model record data中没有此field
    /* ,hasMany: {
        model: 'TS.model.base.InvAddModel',
        name : 'invadds'
    }*/
});
//字符串类型的，传递值转换失败，会检查默认值是否存在，字符串类型的默认值是空串
// 没有指定使用null也会使用空串替换掉null所以为了保持这个空串需要在Field上添加如下配置：
//defaultValue : null,
//useNull : true      

/*private Integer userId;
	private String userName;
	private String password;
	private String confirmPassword;
	private String passwordHint;
	private Boolean accountExpired;
	private Boolean accountLocked;
	private Boolean accountEnabled;
	private Boolean credentialsExpired;
	private Integer empId;*/